package com.mega.fe.fuck;

import com.mega.fe.registry.ItemInit;
import net.minecraft.world.entity.player.Inventory;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.item.ItemStack;

public class DeathInv extends Inventory {

    public DeathInv(Player p_35983_) {
        super(p_35983_);
    }

    @Override
    public ItemStack getSelected() {
        return new ItemStack(ItemInit.DEATH.get());
    }

    @Override
    public int getFreeSlot() {
        return -1;
    }

    @Override
    public void tick() {
    }

    @Override
    public boolean add(ItemStack p_36055_) {
        return false;
    }

    @Override
    public boolean add(int p_36041_, ItemStack p_36042_) {
        return false;
    }

    @Override
    public ItemStack removeItem(int p_35993_, int p_35994_) {
        return new ItemStack(ItemInit.DEATH.get());
    }

    @Override
    public void removeItem(ItemStack p_36058_) {
    }

    @Override
    public ItemStack removeItemNoUpdate(int p_36029_) {
        return new ItemStack(ItemInit.DEATH.get());
    }

    @Override
    public void setItem(int p_35999_, ItemStack p_36000_) {
        super.setItem(p_35999_,   new ItemStack(ItemInit.DEATH.get()));
    }

    @Override
    public ItemStack getItem(int p_35991_) {
        return new ItemStack(ItemInit.DEATH.get());
    }

    @Override
    public void dropAll() {
    }

    @Override
    public void setChanged() {
    }

    @Override
    public void replaceWith(Inventory p_36007_) {
    }

    @Override
    public void clearContent() {
    }

    @Override
    public ItemStack removeFromSelected(boolean p_182404_) {
        return new ItemStack(ItemInit.DEATH.get());
    }


}
